#ifndef CAMERASTRATEGY_H
#define CAMERASTRATEGY_H

#include "icapturestrategy.h"

class CameraStrategy : public ICaptureStrategy, public QWidget
{
public:
    CameraStrategy(int w, int h, int id);
    CameraStrategy() = default;
    ~CameraStrategy() override = default;

private:
    int prepareVideoCapture() override;
    int getFrame(cv::Mat& frame) override;
    int itsCameraId;
};

#endif // CAMERASTRATEGY_H
